package com.xw.hchat.netty;

import com.xw.hchat.pojo.TbChatRecord;

/**
 * @ClassName Message
 * @Author liu zhiyong
 * @Date 2020/8/19 13:53
 * @Version 1.0
 */
public class Message {
    private Integer type;//消息类型
    private TbChatRecord chatRecord;//聊天消息
    private Object ext;//扩展消息字段

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public TbChatRecord getChatRecord() {
        return chatRecord;
    }

    public void setChatRecord(TbChatRecord chatRecord) {
        this.chatRecord = chatRecord;
    }

    public Object getExt() {
        return ext;
    }

    public void setExt(Object ext) {
        this.ext = ext;
    }
}
